<?php
/**
 * appRain v 0.1.x
 *
 * LICENSE
 *
 * This source file is subject to the MIT license that is bundled
 * with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://www.opensource.org/licenses/mit-license.php
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@apprain.com so we can send you a copy immediately.
 *
 * @copyright  Copyright (c) 2010 appRain, Team. (http://www.apprain.com)
 * @license    http://www.opensource.org/licenses/mit-license.php MIT license
 *
 * HELP
 *
 * Official Website
 * http://www.apprain.com/
 *
 * Download Link
 * http://www.apprain.com/download
 *
 * Documents Link
 * http ://www.apprain.com/docs
 */
?>
<div class="left">
    <?php  echo $this->callElement("default/common/quicklinks"); ?>
</div>
<div class="center-large">
    <strong><?php echo $this->__("Member Registration");?></strong>
    <div class="message"></div>

<?php
    echo $this->get_tag("form",array("method"=>"post","class"=>"form","id"=>"signup_form","action"=> $this->baseurl("/member/signup")));
        echo $this->get_tag("ul");
            echo App::Helper('Html')->get_from_row("First Name",App::Helper('Html')->inputTag("data[Member][f_name]","",array("class"=>"input check_notempty",'id'=>'f_name')) );
            echo App::Helper('Html')->get_from_row("Last Name",App::Helper('Html')->inputTag("data[Member][l_name]","",array("class"=>"input check_notempty",'id'=>'l_name')) );
            echo App::Helper('Html')->get_from_row("Country", App::Helper('Html')->countryTag("data[Member][country]","",array("title"=>"Country","id" => "country","class"=>"select check_notempty"),array('title'=>'Your Country')) );
            echo App::Helper('Html')->get_from_row("Address",App::Helper('Html')->textareaTag("data[Member][address]","",array("rows"=>"5","class"=>"input",'id'=>'website')) );
            echo App::Helper('Html')->get_from_row("Email ",App::Helper('Html')->inputTag("data[Member][email]","",array("class"=>"input check_email",'id'=>'email')) );
            echo App::Helper('Html')->get_from_row("Password",App::Helper('Html')->passwordTag("data[Member][password]","",array("class"=>"input check_password",'id'=>'login_password')) );
            echo App::Helper('Html')->get_from_row("Confirm Password",App::Helper('Html')->passwordTag("data[Member][clogin_password]","",array("longdesc"=>"Type same as 'Password' field","title"=>"Confirmed Password","class"=>"input check_notempty",'id'=>'clogin_password')) );
            echo App::Helper('Html')->get_from_row(App::Helper('Html')->capachaTag("memberregi",Array("bk_color"=>"#000000","font_color"=>"#FFFFFF")),App::Load("Helper/Html")->inputTag("data[Member][capacha]","",array("title"=>"Confirmed Password","class"=>"input check_notdefault",'id'=>'capachs','longdesc'=>'Please type text correctly, display on left side image')) );
            echo App::Helper('Html')->get_from_row('&nbsp;',App::Helper('Html')->submitTag("data[Member][submit]","Register Me",array("class" => "button")) );
        echo $this->get_tag("/ul");
    echo $this->get_tag("/form");
    App::Helper('JavaScript')->setAjax(array("debug"=>false,"autoHide"=>true))->appForm('#signup_form');
?>
</div>